package team.se.tms.service;

import org.springframework.web.multipart.MultipartFile;
import team.se.tms.dto.Page;
import team.se.tms.po.TalentTrainingProgramInfo;

import java.util.Date;
import java.util.List;

public interface TalentTrainingProgramInfoService {
    Boolean saveTalentTrainingProgramInfo(MultipartFile multipartFile, Date awardYear) throws Exception;
    List<TalentTrainingProgramInfo> listTalentTrainingProgramInfos(Page page) throws Exception;
    Boolean isUsedTalentTrainingProgramInfo(String talentTrainingProgramId) throws Exception;
    Boolean modifyTalentTrainingProgramInfo(TalentTrainingProgramInfo oldTalentTrainingProgramInfo,MultipartFile multipartFile, Date awardYear) throws Exception;
    Boolean removeTalentTrainingProgramInfo(String talentTrainingProgramId,String oldFilePath) throws Exception;
}
